#ifndef QLISTLINE_H
#define QLISTLINE_H

#include <QListWidgetItem>
#include "qerrorline.h"
#include "ihm_define.h"

class QListLine : public QListWidgetItem
{
public:
	QListLine(QErrorLine* error);
	~QListLine();

	QString iconPath() const;
	QString id() const;
	QEXPPart* part() const { return m_error->firstPart(); }
	QList<quint32> fileLines() const;
private:
	QString m_icon;
	QErrorLine* m_error;
};

#endif // QLISTLINE_H
